package cn.highset.modules.base.dao.mapper;

import cn.highset.modules.base.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Victor
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 通过用户名获取用户ID
     *
     * @param username
     * @return
     */
    String findIdByUsername(@Param("username") String username);
}
